package Model;

public class SalesOrderProduct {
    private SalesOrder salesOrder;
    private Product product;
    private int amount;

    public SalesOrderProduct(SalesOrder salesOrder, Product product, int amount) {
        this.salesOrder = salesOrder;
        this.product = product;
        this.amount = amount;
    }

    public SalesOrderProduct(){

    }

    public SalesOrder getSalesOrder() {
        return salesOrder;
    }

    public void setSalesOrder(SalesOrder salesOrder) {
        this.salesOrder = salesOrder;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

}
